package com.kynnnn.cloud.springboot_quartz.exception;

import com.kynnnn.cloud.springboot_quartz.constant.ResultCode;

/**
 * @author Zhudiwei
 * @Description TODO
 * @createTime 2021年10月13日
 */
public class ScheduleJobException extends RuntimeException {

    private Integer errorCode;

    private String errorMessage;

    public ScheduleJobException(String errorMessage) {
        this.errorCode = ResultCode.FAIL.getCode();
        this.errorMessage = errorMessage;
    }

}
